/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package exatrez.quartz;

import com.google.inject.Inject;
import exatrez.manager.SequenceManager;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.quartz.StatefulJob;

/**
 *
 * @author fikri
 */
public class ResetSequenceJob implements StatefulJob{

    @Inject
    private SequenceManager reset;
    
    @Override
    public void execute(JobExecutionContext jec) throws JobExecutionException {
        reset.resetSequence();
    }
    
}
